@import "../variables";

.focus {
  margin: 10px 0;

  .category, .promotion {
    background-color: #FFFFFF;
  }

  .category {
    width: 188px;
    line-height: 25px;
    font-size: 13px;
    font-weight: 900;
    color: #333;

    a {
      text-decoration: none;
    }

    ul {
      margin: 0;
      padding: 0;

      li {
        padding: 0 10px;
        line-height: 26px;

        span {
          cursor: pointer;
          display: block;
        }

      }

      li:hover {
        background-color: #d9d9d9;
      }
    }
  }

  .promotion {
    width: 1000px;

    &-left {
      padding-right: 5px;
    }

    &-right {
      padding-left: 5px;
    }
  }
}

.category-popover {

  .el-link {
    margin: 0 5px;
    line-height: 26px;

    a {
      text-decoration: none;
      font-weight: var(--el-link-font-weight);
      color: var(--el-link-text-color);
    }
  }
}

.seckill {
  width: 100%;
  height: 260px;

  &_inner {
    height: 100%;
  }

  &-countdown {
    color: #fff;
    position: relative;
    background-color: #e83632;
    background-image: url(/images/seckill.png);
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    width: 188px;
    height: 260px;
    display: block;

    .countdown-title {
      width: 100%;
      text-align: center;
      font-size: 30px;
      font-weight: 700;
      margin-top: 31px;
    }

    .countdown-desc {
      margin-top: 90px;
      font-size: 14px;
      text-align: center;

      strong {
        font-size: 18px;
        padding-right: 2px;
        vertical-align: middle;
        display: inline-block;
        margin-top: -1px;
      }
    }

    .countdown-main {
      margin-left: auto;
      margin-right: auto;
      width: 130px;
      height: 30px;
      margin-top: 10px;
      display: block;
      color: #333;
      font-weight: 700;

      .timmer_unit {
        position: relative;
        float: left;
        width: 30px;
        height: 30px;
        text-align: center;
        background-color: #2f3430;
        margin-right: 20px;
        color: white;
        font-size: 20px;
      }

      .timmer_unit--second {
        margin-right: 0;
      }

      .timmer_unit--second:after {
        content: none !important;
      }

      .timmer_unit:after {
        content: ":";
        display: block;
        position: absolute;
        right: -20px;
        font-weight: bolder;
        font-size: 18px;
        width: 20px;
        height: 100%;
        top: 0;
      }
    }
  }

  .seckill-list {
    position: relative;
    float: left;
    width: 1000px;
    height: 100%;
    overflow: hidden;

    .slider {
      height: 100%;

      .slider_control {
        position: absolute;
        top: 50%;
        border-radius: 0;
        width: 25px;
        height: 35px;
        line-height: 35px;
        background-color: #d9d9d9;
        background-color: rgba(0, 0, 0, .15);
        margin-top: -20px;
        font-size: 20px;
        z-index: 2;
        border: none;
        outline: none;
        cursor: pointer;
        -webkit-transition: background-color .2s ease;
        transition: background-color .2s ease;
      }

      .slider_control_prev {
        left: 0;
        color: #ffffff;
        font-size: 14px;
        border-top-right-radius: 18px;
        border-bottom-right-radius: 18px;

        .el-icon {
          top: 2px;
          left: -2px;
        }
      }

      .slider_control_next {
        right: 0;
        color: #ffffff;
        font-size: 14px;
        border-top-left-radius: 18px;
        border-bottom-left-radius: 18px;

        .el-icon {
          top: 2px;
          right: -2px;
        }
      }

      .slider_list {
        height: 100%;
        overflow: hidden;

        .slider_wrapper {
          height: 100%;

          .slider_item {
            height: 100%;
            width: 200px;
            display: inline-block;

            a {
              text-decoration: none;
              display: block;
              margin: 10px 24px;

              .el-image {
                height: 150px;
                width: 150px;
              }

              .slider_item_title {
                line-height: 20px;
                text-align: center;
                color: #c81623;
                font-size: 12px;
                font-weight: 400;
                // color: #333;
                -webkit-transition: color .2s ease;
                transition: color .2s ease;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap
              }

              .slider_item_price {
                height: 22px;
                line-height: 22px;
                overflow: hidden;
                color: red;
                font-size: 12px;
                text-align: center;
              }
            }
          }

        }
      }

    }
  }

}

